package com.boot.entity;

import lombok.Data;

import java.io.Serializable;

//这里必须实现Serializable 因为shiro是通过序列化实体类对象作为cookie的value值
@Data
public class Account implements Serializable {
    private Integer id;
    private String username;
    private String password;
    private String perms;
    private String role;
}

